package Rbac.domain.vo;

public class RoleVo extends BaseVo{
    /**
     * 角色名称
     */
    public String name;
    /**
     * 角色范围
     */
    public String dataScope;
    public RoleVo() {
    }
    public RoleVo(int id, String name, String dataScope) {
        super(id);
        this.name = name;
        this.dataScope = dataScope;
    }
     @Override
    public String toString() {
        return String.format("ID:%d, 名称:%s， 数据范围:%s", id, name, dataScope);
     }
}
